﻿namespace SharedLibrary
{
    // ReSharper disable InconsistentNaming
    public abstract class Command
    {
        public const byte OK = 1;
        public const byte ERROR = 2;

        public const byte LOGIN = 3;
        public const byte LOGOUT = 4;
        public const byte REGISTER = 0;
        public const byte AUCTIONS = 6;
        public const byte CREATE_AUCTION = 7;
        public const byte PLACE_BID = 8;

        public const byte AUCTION_SUBSCRIBE = 9;
        public const byte AUCTION_UNSUBSCRIBE = 10;
        public const byte UPDATE_AUCTION = 11;

        public const byte GET_AUCTION = 12;
        public const byte GET_AUCTIONS = 13;
        public const byte POST_AUCTION = 14;
    }
    // ReSharper restore InconsistentNaming
}
